package day11;

public class TestMemberInnerClass {
	public static void main(String[] args) {
		Outer o = new Outer();
		//int i = o.i1;
		Outer.Inner inner = o.new Inner();
		inner.show();
	}
}

class Outer{
	private int i1 = 10;
	private int i3 = 30;
	static int s1 = 1000;
	public void show(){
		Inner inner = new Inner();
		System.out.println(inner.i2);
		Inner inner1 = new Inner();
		System.out.println(inner1.i1);
	}
	class Inner{
		private int i1 = 100;
		private int i2 = 20;
/*		static int s2 = 2000;
		public static void m(){}*/
		public void show(){
			System.out.println(Outer.this.i1);
			System.out.println(i2);
			System.out.println(i3);
			System.out.println(i1);
			System.out.println(s1);
		}
	}
}
